<?php
$api_service_path = __DIR__ . "/../../../api/";
ob_start();
require_once($api_service_path . "public/index.php");
ob_end_clean();

use Illuminate\Support\Facades\Redis;
Redis::set('test', 'dongxia','EX', 1);

$a = Redis::get('test');
var_dump($a);

sleep(2);
$b = Redis::get('test');
var_dump($b);
exit;
